package com.zhangyang.dubbo;

import java.io.Serializable;

/**
 * Created by ASUS on 2017/8/30.
 */
public class ResponseCode implements Serializable{
    String id;
    String msg;
    int code;

    public ResponseCode() {
    }

    public ResponseCode(String id, String msg, int code) {
        this.id = id;
        this.msg = msg;
        this.code = code;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "ResponseCode{" +
                "id='" + id + '\'' +
                ", msg='" + msg + '\'' +
                ", code=" + code +
                '}';
    }
}
